#include "all.h"

worldrender<updater_different> trr;

tcurrentstage currentstage;
void initializeengine()
{

	screenw=800;
	screenh=600;
	nowcamera.xhi=0;
	nowcamera.yhi=0;
	nowcamera.zhi=2;
	screenzformat='ZTNI';
	screenvsync=D3DPRESENT_INTERVAL_ONE;

	bgcolor=0xff808080;
	videosettings[id_bsp]=3;
	videosettings[id_terrain]=2;
	videosettings[id_object]=0;
	videosettings[id_reflection]=0;

	initwindow();
	initengine();

}
void initializeworld()
{
}

int checkevent( int event)
{
	return keystate(event);
}
